﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShengYueWorkShop.BLL.DataModel
{
    /// <summary>
    /// TCP数据流数据结构
    /// </summary>
    public class TcpReadStruct
    {
        /// <summary>
        /// 是否符合数据流结构
        /// </summary>
        public bool ReadStatus;
        /// <summary>
        /// 操作指令
        /// </summary>
        public string TcpOperationCommand;
        /// <summary>
        /// 数据长度(指主数据包长度bytes[])
        /// </summary>
        public int Lenght;
        /// <summary>
        /// 主数据包
        /// </summary>
        public byte[] Message;
        /// <summary>
        /// 错误消息
        /// </summary>
        public string ErrorMsg;
    }
}
